package com.three.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName shopkeeperchange
 */
@Data
public class Shopkeeperchange implements Serializable {
    /**
     * 主键
     */
    private Integer sid;

    /**
     * 
     */
    private Integer staffid;

    /**
     * 
     */
    private Integer branchid;

    /**
     * 
     */
    private Integer deptid;

    /**
     * 
     */
    private Integer roleid;

    /**
     * 
     */
    private Integer newbranchid;

    /**
     * 
     */
    private Integer newdeptid;

    /**
     * 
     */
    private Integer newroleid;

    /**
     * 
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date transfertime;

    /**
     * 
     */
    private Integer transferper;
    private Staff staff;//平调员工对象
    private Staff transferperStaff;//执行人
    private Branch oldBranch;//原分店
    private Branch newBranch;//新分店
    private Department oldDept;//原部门
    private Department newDept;//新部门
    private Role oldRole;//原角色
    private Role newRole;//新角色

    private static final long serialVersionUID = 1L;
}